package com.foreknow.model;

import javax.swing.*;
import java.util.Date;
import java.util.List;

public class Items {
    private int id;
    private String name;
    private double price;
    //商品描述
    private String detail;
    //商品图片
    private String pic;
    //生产日期
    private Date createtime;

    //1:m订单明细  不需要使用
//    private List<Orderdetail> orderdetails;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

}
